<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://xmlns.jcp.org/jsf/core">
<h:head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<title>Classificados 1,99</title>
	<f:facet name="last">
		<h:outputStylesheet library="css" name="bootstrap.min.css"/>
		<h:outputStylesheet library="css" name="bootstrap-theme.min.css"/>
		
	</f:facet>
</h:head>
<h:body>
	<div class="container">
	<h:form>
	<h:commandLink styleClass="btn btn-default btn-primary" value="Novo usuario"></h:commandLink>
	<h:dataTable styleClass="table" value="#{usuarioBean.usuarios}" var="usr">
	<h:column>
			<f:facet name="header">Codigo</f:facet>			
    				#{usr.codigo}
    	</h:column>
		<h:column>
			<f:facet name="header">Nome</f:facet>			
    				#{usr.nome}
    	</h:column>
    	<h:column>
			<f:facet name="header">Email</f:facet>			
    				#{usr.email}
    	</h:column>

	</h:dataTable>
    </h:form>
	

      
    </div> 

	<h:outputScript name="bootstrap.min.js" library="js"/>
</h:body>
</html>